package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.EventHandlingDO;
import org.jsola.hr.query.EventHandlingQuery;
import org.jsola.hr.vo.EventHandlingListVO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 事件处理
 *
 * @author zhr
 */
@Repository("hrEventHandlingDAO")
public interface IEventHandlingDAO extends IJsolaMapper<EventHandlingDO> {
    /**
     * 查询事件处理
     *
     * @param eventHandlingQuery 查询参数
     * @param siteId             站点
     * @return 事件处理列表
     */
    List<EventHandlingListVO> selectPage(@Param("eventHandlingQuery") EventHandlingQuery eventHandlingQuery,
                                         @Param("siteId") String siteId);
}

